package org.opentcs.strategies.basic.scheduling.jjwc;

import jakarta.annotation.Nonnull;
import jakarta.inject.Inject;
import org.opentcs.strategies.basic.scheduling.ReservationPool;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import static java.util.Objects.requireNonNull;

/**
 * 这个适用于处理路径分配规则的处理类
 */
public class AllocateRuler {

  private static final Logger LOG = LoggerFactory.getLogger(AllocateRuler.class);

  private final ReservationPool reservationPool;

  @Inject
  public AllocateRuler(@Nonnull ReservationPool reservationPool) {
    this.reservationPool = requireNonNull(reservationPool, "reservationPool");
  }

}
